<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 3661 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 3661 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/test_tset/index.html'> test_tset </a> </td>
<td> <a href='/problem/noi17f/index.html'> noi17f. 【NOI2017】分身术 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 1.533 s </td>
<td style='font-size:13px'> 6 MB + 932 KB </td>
<td style='font-size:13px'> C++11 </td>
<td style='font-size:13px'> 17.20 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2018-07-17 22:53:47 </td>
<td style='font-size:13px'> 2019-01-18 23:21:01 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include&lt;iostream&gt;
#include&lt;cstdlib&gt;
#include&lt;cstring&gt;
#include&lt;algorithm&gt;
#include&lt;cmath&gt;
#include&lt;stdio.h&gt;
#include&lt;vector&gt;
#include&lt;map&gt;
#include&lt;set&gt;
using namespace std;
const double eps=1e-9;
long long ans;
const int inf=1e9+9;
int xx,yy,mx,my;
struct segment
{
    int id_layer,l,r;
    bool operator &lt;(const segment &amp;temp)const
    {
        return l&lt;temp.l;
    }
};
vector&lt;segment&gt;sg[101];
segment tc[101000],nw[101000];
int cnt_tc,cnt_nw;
segment now;
struct point
{
    int x,y,id;
    bool operator &lt;(const point &amp;temp)const
    {
       if(abs(1LL*(y-yy)*(temp.x-xx)-1LL*(x-xx)*(temp.y-yy))==0)
          return abs(x-xx)+abs(y-yy)&gt;abs(temp.x-xx)+abs(temp.y-yy);
       return 1LL*(y-yy)*(temp.x-xx)-1LL*(x-xx)*(temp.y-yy)&lt;0;
    }
};
point pt[101000],tmp[101000];
int num_layer;
int at[101000],as[101000],us[101000];
vector&lt;int&gt;vec[111];
int iu[101000],cnt_u;
vector&lt;long long&gt;sum[111];
int n,m,list[111];
int vis[101000],times,cnt,k;
long long tot;
void init()
{
    int i,j,s,p,q,id,inx,iny,id1,id2;
    times++;
    memset(at,-1,sizeof(at)); 
    my=mx=1e8+5;
    for(num_layer=0;num_layer&lt;=100;num_layer++)
    {
        vec[num_layer].clear();
        cnt=0;
        for(i=0;i&lt;n;i++)
        {
            if(vis[i]!=times)
                tmp[cnt++]=pt[i];
        }
        if(cnt==0)
           return;
        inx=inf;
        for(i=0;i&lt;cnt;i++)
        {
            if(inx&gt;tmp[i].x||(inx==tmp[i].x&amp;&amp;iny&gt;tmp[i].y))
            {
                inx=tmp[i].x;
                iny=tmp[i].y;
				id=i;
            }
        }
        swap(tmp[0],tmp[id]);
        xx=tmp[0].x;
        yy=tmp[0].y;
        sort(tmp+1,tmp+cnt);
        for(i=0;i&lt;cnt;i++)
        {
            while(vec[num_layer].size()&gt;=2)
            {
                id1=vec[num_layer][vec[num_layer].size()-2];
                id2=vec[num_layer][vec[num_layer].size()-1];
                id=tmp[i].id;
                if(1LL*(pt[id].y-pt[id1].y)*(pt[id2].x-pt[id1].x)&lt;1LL*(pt[id2].y-pt[id1].y)*(pt[id].x-pt[id1].x))
                    vec[num_layer].pop_back();
                else
                    break;
            }
            vec[num_layer].push_back(tmp[i].id);
        }
        double theta[2];
        int flag=0;
        for(i=0;i&lt;vec[num_layer].size();i++)
        {
             id1=vec[num_layer][i];
             id2=vec[num_layer][(i+1)%vec[num_layer].size()];
             theta[1-flag]=atan2(pt[id2].y-pt[id1].y,pt[id2].x-pt[id1].x);
             if(i&gt;0&amp;&amp;theta[1-flag]&lt;theta[flag]-1e-9)
                 break;
             flag^=1;
        }
        cnt_u=0;
        if(i&lt;vec[num_layer].size())
        {
            for(j=i;j&lt;vec[num_layer].size();j++)
                iu[cnt_u++]=vec[num_layer][j];
            for(j=0;j&lt;i;j++)
                iu[cnt_u++]=vec[num_layer][j];
            for(j=0;j&lt;vec[num_layer].size();j++)
                vec[num_layer][j]=iu[j];
        }
        if(vec[num_layer].size()&gt;=3)
        {
        	flag=0;
        	int nn=0;
            for(i=0;i&lt;vec[num_layer].size();i++)
            {
                 id1=vec[num_layer][i];
                 id2=vec[num_layer][(i+1)%vec[num_layer].size()];
                 theta[1-flag]=atan2(pt[id2].y-pt[id1].y,pt[id2].x-pt[id1].x);
                 if(i==0||fabs(theta[1-flag]-theta[flag])&gt;eps)
                 	vec[num_layer][nn++]=vec[num_layer][i];
                 flag^=1;
	    	}
	    	while(vec[num_layer].size()&gt;nn)
	    	   vec[num_layer].pop_back();
	    }
		for(i=0;i&lt;vec[num_layer].size();i++)
        {
             vis[vec[num_layer][i]]=times;
             at[vec[num_layer][i]]=num_layer;
             as[vec[num_layer][i]]=i;
        }
        sum[num_layer].clear();
        sum[num_layer].push_back(0); 
        for(i=0;i&lt;vec[num_layer].size();i++)
        {
            id1=vec[num_layer][i];
            id2=vec[num_layer][(i+1)%vec[num_layer].size()];
            sum[num_layer].push_back(1LL*(pt[id2].y-my)*(pt[id1].x-mx)-1LL*(pt[id2].x-mx)*(pt[id1].y-my));
            sum[num_layer][i+1]+=sum[num_layer][i];
        }
        if(num_layer==0)
            tot=sum[num_layer].back();
    }
}
bool cmp(int id1,int id2)
{ 
    if(at[id1]==at[id2])
       return as[id1]&lt;as[id2];
    return at[id1]&lt;at[id2];
}
void got(int id_layer,int id1,int id2)
{
	int i,j,s,p,q,low,high,mid,md,cd,ip1,ip2,ie1,ie2,ll,rr,sz,lx,rx,iq1,iq2,u,v,cmft=0;
	double theta,alpha;
	bool ok=false,eq=false,gong_xian=false;
	if(sg[id_layer+1].size()==0)
	   return;
	sz=sg[id_layer+1].size();
    ie1=sg[id_layer+1][0].id_layer;
    ll=sg[id_layer+1][0].l;
    iq1=vec[ie1][ll]; 
	ie2=sg[id_layer+1].back().id_layer;
	rr=sg[id_layer+1].back().r;
	iq2=vec[ie2][rr];
	u=sg[id_layer+1].size()-1;
	v=sg[id_layer+1][u].r; 
	int cx,cy,dis=-inf;
	while(true)
	{
	     if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)!=1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
		    goto orz;
		  eq=true;
		  for(v=sg[id_layer+1][u].r-1;v&gt;=sg[id_layer+1][u].l;v--)
          {
          	 ie1=sg[id_layer+1][u].id_layer;
         	 iq1=vec[ie1][v+1];
         	 iq2=vec[ie1][v];
             if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)!=1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
                 goto orz;
		  }
 		  for(v=sg[id_layer+1][u].r;v&gt;=sg[id_layer+1][u].l;v--)
		  {
  			   ie1=sg[id_layer+1][u].id_layer;
  			   ip1=vec[ie1][v];
  			   if(dis&lt;abs(pt[ip1].x-pt[id1].x)+abs(pt[ip1].y-pt[id1].y))
  			   {
   			  	  dis=abs(pt[ip1].x-pt[id1].x)+abs(pt[ip1].y-pt[id1].y);
   			  	  cx=u;
   			  	  cy=v;
   			   }
  		   }
		  ie1=sg[id_layer+1][u].id_layer;
		  iq1=vec[ie1][sg[id_layer+1][u].l];
 		  u=(u-1+sg[id_layer+1].size())%sg[id_layer+1].size();
 		  ie2=sg[id_layer+1][u].id_layer;
 		  v=sg[id_layer+1][u].r;
 		  iq2=vec[ie2][sg[id_layer+1][u].r];
 		  if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)!=1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
              goto orz; 
		  if(u+1==sg[id_layer+1].size())
		  {
 		 	 gong_xian=true;
 		     break;
		  }
	}
	orz: 
	cmft+=gong_xian;
	int lm,rm;
	if(v==sg[id_layer+1][u].r)
	{
		u=(u+1)%sg[id_layer+1].size();
		v=sg[id_layer+1][u].l;
		lm=v;
		rm=v;
	}
	else
	{
		lm=sg[id_layer+1][u].l;
		rm=v+1;
	}
	low=u;
	high=u+sz-1; 
	while(low&lt;=high)
	{
		mid=(low+high)&gt;&gt;1;
		ie1=sg[id_layer+1][mid%sz].id_layer;
		ll=sg[id_layer+1][mid%sz].r;
		ie2=sg[id_layer+1][(mid+1)%sz].id_layer;
		rr=sg[id_layer+1][(mid+1)%sz].l;
		ip1=vec[ie1][ll];
		ip2=vec[ie2][rr];
		ok=false;
	    if(1LL*(pt[ip1].y-pt[id1].y)*(pt[ip2].x-pt[id1].x)&lt;1LL*(pt[ip1].x-pt[id1].x)*(pt[ip2].y-pt[id1].y))
  	      ok=true;
		if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&gt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
		{ 
			  if(ok)
			  {
  				 if(1LL*(pt[ip1].y-pt[id1].y)*(pt[iq1].x-pt[id1].x)&gt;=1LL*(pt[ip1].x-pt[id1].x)*(pt[iq1].y-pt[id1].y))
  				     ok=false;
		   	  }
  		 
		}
		else if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&lt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
		{
			 if(!ok)
			 {
 			     if(1LL*(pt[ip1].y-pt[id1].y)*(pt[iq1].x-pt[id1].x)&gt;1LL*(pt[ip1].x-pt[id1].x)*(pt[iq1].y-pt[id1].y))
 			       ok=true;
			 }
		}
		if(ok)
		   high=mid-1;
        else
           low=mid+1;
	}
	lx=low%sg[id_layer+1].size();
	if(eq&amp;&amp;lx==u&amp;&amp;1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&lt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
		ll=rm;
	else
	{
    	if(lx==u&amp;&amp;eq)
    	{
    		low=lm;
    		high=rm;
    	}
    	else
    	{
     		low=sg[id_layer+1][lx].l;
	        high=sg[id_layer+1][lx].r;
    	}
    	while(low&lt;=high)
    	{
    		mid=(low+high)&gt;&gt;1;
        	ie1=sg[id_layer+1][lx].id_layer;	
    		ip1=vec[ie1][mid];
    		if(mid==sg[id_layer+1][lx].r)
    		{
    			ie2=sg[id_layer+1][(lx+1)%sg[id_layer+1].size()].id_layer;
    			ll=sg[id_layer+1][(lx+1)%sg[id_layer+1].size()].l;
    			ip2=vec[ie2][ll];
    		}
    		else
    		    ip2=vec[ie1][mid+1];
	    	ok=false;
            if(1LL*(pt[ip1].y-pt[id1].y)*(pt[ip2].x-pt[id1].x)&lt;1LL*(pt[ip1].x-pt[id1].x)*(pt[ip2].y-pt[id1].y))
	            ok=true; 
		    if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&gt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
	    	{
	   		    if(ok)
			    {
  			    	 if(1LL*(pt[ip1].y-pt[id1].y)*(pt[iq1].x-pt[id1].x)&gt;=1LL*(pt[ip1].x-pt[id1].x)*(pt[iq1].y-pt[id1].y))
  				         ok=false;
  		        }
	    	}
	    	else if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&lt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
	    	{
	    		 if(!ok)
	    		 {
 	    		     if(1LL*(pt[ip1].y-pt[id1].y)*(pt[iq1].x-pt[id1].x)&gt;1LL*(pt[ip1].x-pt[id1].x)*(pt[iq1].y-pt[id1].y))
 	    		       ok=true;
	    		 }
    		}
	    	if(ok)
	    	   high=mid-1;
            else
              low=mid+1;
    	}
    	ll=low;
	} 
	if(gong_xian)
	{
		lx=cx;
		ll=cy;
	}
	else
	{
		if(eq)
		{ 
			if(1LL*(pt[iq1].y-pt[id1].y)*(pt[iq2].x-pt[id1].x)&lt;1LL*(pt[iq1].x-pt[id1].x)*(pt[iq2].y-pt[id1].y))
			{
				lx=u;
				ll=rm;
			}
		}
	}
    ie1=sg[id_layer+1][lx].id_layer;
	if(ll&gt;sg[id_layer+1][lx].r)
	{
		lx=(lx+1)%sg[id_layer+1].size();
		ll=sg[id_layer+1][lx].l;
		ie1=sg[id_layer+1][lx].id_layer;
	}
	ip1=vec[ie1][ll];	
    if(1LL*(pt[ip1].y-pt[id1].y)*(pt[id2].x-pt[id1].x)&gt;1LL*(pt[ip1].x-pt[id1].x)*(pt[id2].y-pt[id1].y))
        return;            
    low=0;
	high=sg[id_layer+1].size()-1;
	sz=sg[id_layer+1].size();
	
	int lq;
    ie1=sg[id_layer+1][0].id_layer;
    lq=sg[id_layer+1][0].l;
    iq1=vec[ie1][lq]; 
	ie2=sg[id_layer+1].back().id_layer;
	rr=sg[id_layer+1].back().r;
	iq2=vec[ie2][rr];
	u=sg[id_layer+1].size()-1;
	v=sg[id_layer+1][u].r;
	eq=false;
	gong_xian=false;
	dis=-inf;
	while(true)
	{
	     if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)!=1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		    goto oz;
		 eq=true;
         for(v=sg[id_layer+1][u].r-1;v&gt;=sg[id_layer+1][u].l;v--)
         {
         	ie1=sg[id_layer+1][u].id_layer;
         	iq1=vec[ie1][v+1];
         	iq2=vec[ie1][v];
            if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)!=1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
                goto oz;
         }
          for(v=sg[id_layer+1][u].r;v&gt;=sg[id_layer+1][u].l;v--)
	     {
  			   ie1=sg[id_layer+1][u].id_layer;
  			   ip1=vec[ie1][v];
  			   if(dis&lt;abs(pt[ip1].x-pt[id2].x)+abs(pt[ip1].y-pt[id2].y))
  			   {
   			  	  dis=abs(pt[ip1].x-pt[id2].x)+abs(pt[ip1].y-pt[id2].y);
   			  	  cx=u;
   			  	  cy=v;
   			   }
  		   }
		 ie1=sg[id_layer+1][u].id_layer;
		 iq1=vec[ie1][sg[id_layer+1][u].l];
 		 u=(u-1+sg[id_layer+1].size())%sg[id_layer+1].size();
 		 ie2=sg[id_layer+1][u].id_layer;
 		 iq2=vec[ie2][sg[id_layer+1][u].r];
 		 v=sg[id_layer+1][u].r; 
 		 if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)!=1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
              goto oz; 
		  if(u+1==sg[id_layer+1].size())
		  {
  		 	 gong_xian=true;
 		     break;
		  }
	}
	oz:
	cmft+=gong_xian;
	if(cmft==2&amp;&amp;id1!=id2)
	{
		 ie1=sg[id_layer+1][lx].id_layer;
	  	 ip1=vec[ie1][ll];
	      if(1LL*(pt[ip1].y-pt[id1].y)*(pt[id2].x-pt[id1].x)==1LL*(pt[ip1].x-pt[id1].x)*(pt[id2].y-pt[id1].y))
            return;	 
	}
	if(v==sg[id_layer+1][u].r)
	{
		u=(u+1)%sg[id_layer+1].size();
		v=sg[id_layer+1][u].l;
		lm=v;
		rm=v; 
	}
	else
	{
		lm=sg[id_layer+1][u].l;
		rm=v+1;
	}
	low=u;
	high=u+sz-1;
	while(low&lt;=high)
	{
		mid=(low+high)&gt;&gt;1;
    	ie1=sg[id_layer+1][mid%sz].id_layer;
    	int lq;
		lq=sg[id_layer+1][mid%sz].r;
		ie2=sg[id_layer+1][(mid+1)%sz].id_layer;
		rr=sg[id_layer+1][(mid+1)%sz].l;
		ip1=vec[ie1][lq];
		ip2=vec[ie2][rr];
		ok=false;
	    if(1LL*(pt[ip1].y-pt[id2].y)*(pt[ip2].x-pt[id2].x)&lt;=1LL*(pt[ip1].x-pt[id2].x)*(pt[ip2].y-pt[id2].y))
  	      ok=true;
		if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)&gt;1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		{
			  if(ok)
			  {
  				 if(1LL*(pt[ip1].y-pt[id2].y)*(pt[iq1].x-pt[id2].x)&lt;1LL*(pt[ip1].x-pt[id2].x)*(pt[iq1].y-pt[id2].y))
  				     ok=false;
  			  }
		}
		else if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)&lt;1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		{
			 if(!ok)
			 {
 			     if(1LL*(pt[ip1].y-pt[id2].y)*(pt[iq1].x-pt[id2].x)&lt;=1LL*(pt[ip1].x-pt[id2].x)*(pt[iq1].y-pt[id2].y))
 			       ok=true;
			 }
		}
		if(!ok)
		   high=mid-1;
        else
           low=mid+1;
	} 
	rx=low%sg[id_layer+1].size();
	if(rx==u&amp;&amp;eq)
	{
		low=lm;
		high=rm;
	}
	else
	{
		low=sg[id_layer+1][rx].l;
	    high=sg[id_layer+1][rx].r;
	}
    while(low&lt;=high)
	{
		int lq;
	    mid=(low+high)&gt;&gt;1;
		ie1=sg[id_layer+1][rx].id_layer;
		ip1=vec[ie1][mid];
		if(mid==sg[id_layer+1][rx].r)
		{
			ie2=sg[id_layer+1][(rx+1)%sg[id_layer+1].size()].id_layer;
			lq=sg[id_layer+1][(rx+1)%sg[id_layer+1].size()].l;
			ip2=vec[ie2][lq];
		}
		else
		    ip2=vec[ie1][mid+1];
		ok=false;
	    if(1LL*(pt[ip1].y-pt[id2].y)*(pt[ip2].x-pt[id2].x)&lt;=1LL*(pt[ip1].x-pt[id2].x)*(pt[ip2].y-pt[id2].y))
	        ok=true;
		if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)&gt;1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		{
			  if(ok)
			  {
  				 if(1LL*(pt[ip1].y-pt[id2].y)*(pt[iq1].x-pt[id2].x)&lt;1LL*(pt[ip1].x-pt[id2].x)*(pt[iq1].y-pt[id2].y))
  				     ok=false;
  			  }
		}
	    else if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)&lt;1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		{
			 if(!ok)
			 {
 			     if(1LL*(pt[ip1].y-pt[id2].y)*(pt[iq1].x-pt[id2].x)&lt;=1LL*(pt[ip1].x-pt[id2].x)*(pt[iq1].y-pt[id2].y))
 			       ok=true;
			 }
		}
		if(!ok)
		   high=mid-1;
        else
           low=mid+1;
	}
	rr=low;
	if(gong_xian)
	{ 
		rx=cx;
		rr=cy;
	}
	else
	{
		if(eq)
		{
		  	if(1LL*(pt[iq1].y-pt[id2].y)*(pt[iq2].x-pt[id2].x)&gt;1LL*(pt[iq1].x-pt[id2].x)*(pt[iq2].y-pt[id2].y))
		    { 
		    	rx=u;
		    	rr=rm;
		    }
		}
	}
    if(rr&gt;sg[id_layer+1][rx].r)
    {
    	rx=(rx+1)%sg[id_layer+1].size();
    	rr=sg[id_layer+1][rx].l;
    }
   	now.id_layer=sg[id_layer+1][lx].id_layer;
    if(lx==rx&amp;&amp;ll&lt;=rr)
    {
    	ie1=sg[id_layer+1][lx].id_layer;
	   	now.l=ll;
	   	now.r=rr;
	   	sg[id_layer].push_back(now);
	}
    else
    {
    	now.l=ll;
    	now.r=sg[id_layer+1][lx].r; 
    	sg[id_layer].push_back(now);
		for(i=(lx+1)%sg[id_layer+1].size();i!=rx;i=(i+1)%sg[id_layer+1].size())
    	{
    		now.id_layer=sg[id_layer+1][i].id_layer;
	    	now.l=sg[id_layer+1][i].l;
	    	now.r=sg[id_layer+1][i].r;
	    	sg[id_layer].push_back(now);
	    }
	    now.l=sg[id_layer+1][rx].l;
	    now.r=rr;
	    now.id_layer=sg[id_layer+1][rx].id_layer; 
	    sg[id_layer].push_back(now);
    }
}
int main()
{
   scanf(&quot;%d%d&quot;,&amp;n,&amp;m);
    int i,j,s,p,q,id,ip,ie,ll,rr,ip1,ip2;
    for(i=0;i&lt;n;i++)
    { 
		scanf(&quot;%d%d&quot;,&amp;pt[i].x,&amp;pt[i].y);
        pt[i].id=i;
    }
    init();
    ans=-1;
    for(i=0;i&lt;m;i++)
    {
      scanf(&quot;%d&quot;,&amp;k);
        for(j=0;j&lt;=k;j++)
            sg[j].clear();
        times++;
        int tr=ans%n;
        if(tr&lt;0)
           tr+=n;
        int ma=0;
        for(j=0;j&lt;k;j++)
        {
            scanf(&quot;%d&quot;,&amp;list[j]);
            list[j]=(1LL*tr+1LL*list[j])%n;     
            vis[list[j]]=times;
        }
        times++;
        int nn=0;
        for(j=0;j&lt;k;j++)
        {
            if(at[list[j]]&gt;=0)
               list[nn++]=list[j];
        }
        k=nn;
        sort(list,list+k,cmp);
        nn=0;
        for(j=0;j&lt;k;j++)
        {
        	if(nn==0||list[nn-1]!=list[j])
        	   list[nn++]=list[j];
		}
		k=nn;
        for(j=0;j&lt;k;j++)
        {
        	if(j==0&amp;&amp;at[list[j]]!=0)
        	   break;
        	if(j&amp;&amp;at[list[j-1]]&lt;at[list[j]]-1)
        	   break;
		}
		k=j;
		ma=-1;
        for(j=0;j&lt;k;j++)
        {
            id=at[list[j]]; 
            if(ma&lt;id)
                ma=id;
        }
        for(j=0;j&lt;=ma+1;j++)
           sg[j].clear();
        j=ma+1;
        now.l=0;
        now.r=vec[j].size();
        now.id_layer=j;
        now.r--;
        if(now.l&lt;=now.r)
           sg[j].push_back(now);
        ans=tot; 
        times++;
        for(j=k-1;j&gt;=-1;j--)
        {
        	if(j&lt;k-1&amp;&amp;(j&lt;0||at[list[j]]!=at[list[j+1]]))
        	{
        		for(s=j+1;s&lt;k;s++)
        		{
        			if(at[list[s]]!=at[list[j+1]])
        			   break;
				}
				id=at[list[j+1]];
				if(s-j-1==vec[id].size())
				{
					for(s=0;s&lt;sg[id+1].size();s++)
						sg[id].push_back(sg[id+1][s]);
					continue;
				}
				q=vec[at[list[j+1]]].size()-1;
				for(p=s-1;p&gt;j;p--)
				{
					if(as[list[p]]!=q)
					   break;
					q--;
				}
				p++; 
				int dx,dy;
				for(q=j+1;q&lt;s;q++)
				{
					if(q==j+1)
					  dx=0;
					else
					  dx=as[list[q-1]]+1;
					if(as[list[q]]!=dx)
					{
					    if(dx!=0)
					    {
					       if(p==s)
					          dy=vec[id].size()-1;
					        else
					          dy=as[list[p]]-1;
						   got(id,vec[id][dy],vec[id][dx]);
					    }
						now.id_layer=id;
					    now.l=dx;
					    now.r=as[list[q]]-1;
					    sg[id].push_back(now);
					    p=q;
					}
				}
				if(as[list[s-1]]+1&lt;vec[id].size())
				{
				    if(p==s)
					   dy=vec[id].size()-1;
			        else
			           dy=as[list[p]]-1;
				    dx=as[list[s-1]]+1;
				    got(id,vec[id][dy],vec[id][dx]);
					now.id_layer=id;
					now.l=as[list[s-1]]+1;
					now.r=vec[id].size()-1;
					sg[id].push_back(now);
				}
				else if(as[list[j+1]]!=0)
					got(id,vec[id][as[list[p]]-1],vec[id][0]);
			}
		}
		ans=0;
		for(int ii=0;ii&lt;sg[0].size();ii++)
		{
			 id=sg[0][ii].id_layer;
			 ll=sg[0][ii].l;
			 rr=sg[0][ii].r;
			 ans+=sum[id][rr]-sum[id][ll];
			 ip1=vec[id][rr];
			 ie=sg[0][(ii+1)%sg[0].size()].id_layer;
			 ll=sg[0][(ii+1)%sg[0].size()].l;
			 ip2=vec[ie][ll];
			 ans+=1LL*(pt[ip2].y-my)*(pt[ip1].x-mx)-1LL*(pt[ip2].x-mx)*(pt[ip1].y-my);
		}
         printf(&quot;%lld\n&quot;,ans);
    }
    return 0;
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">86.22 us</td><td class="col-xs-2" style="vertical-align:middle">484 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.086215
mem_kb = 484
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">7.252 ms</td><td class="col-xs-2" style="vertical-align:middle">604 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a>
<a id="625dfdde89ed45d1b72e94b389ab5a3a" href="http://www.iis7.com" id="625dfdde89ed45d1b72e94b389ab5a3a" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;" >iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 7.251551
mem_kb = 604
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">7.325 ms</td><td class="col-xs-2" style="vertical-align:middle">604 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 7.325442
mem_kb = 604
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">7.336 ms</td><td class="col-xs-2" style="vertical-align:middle">604 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 7.336065
mem_kb = 604
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">106.311 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 408 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 106.311196
mem_kb = 5528
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">111.74 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 972 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_7" aria-expanded="false" aria-controls="detail_7">显示更多</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 111.740271
mem_kb = 6092
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">112.496 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 972 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_8" aria-expanded="false" aria-controls="detail_8">显示更多</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 112.495747
mem_kb = 6092
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">118.962 ms</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 700 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 118.961864
mem_kb = 6844
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">146.622 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 144 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 146.621982
mem_kb = 5264
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">156.146 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 932 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 156.146358
mem_kb = 6052
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">156.624 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 160 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 156.623881
mem_kb = 5280
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">232.238 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 332 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 232.237981
mem_kb = 5452
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">717.979 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 68 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 717.978962
mem_kb = 5188
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">798.497 ms</td><td class="col-xs-2" style="vertical-align:middle">5 MB + 244 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 798.496854
mem_kb = 5364
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">1.365 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 932 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1365.367571
mem_kb = 7076
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">1.31 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 92 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1310.316484
mem_kb = 6236
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">1.391 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 308 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1390.555704
mem_kb = 6452
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">1.4 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 516 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1400.434503
mem_kb = 6660
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">1.488 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 732 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1488.124856
mem_kb = 6876
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">1.533 s</td><td class="col-xs-2" style="vertical-align:middle">6 MB + 932 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1533.186344
mem_kb = 7076
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:15:09 | Loaded in 10 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
